package edu.polsl.bio.str.common.entity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * //todo class description
 * <p/>
 * Created on: Jul 27, 2011 4:17:45 PM <br/>
 * <a href="http://www.polsl.pl">www.polsl.pl</a>
 *
 * @author lukasz.olczak@polsl.pl
 */
@Entity
@Table(name = "dot_image")
public class DotImage extends BaseEntity {

  private Long refId;

  private Long queryId;

  private Long refChromosomeId;

  private Long queryChromosomeId;

  private Integer width;

  private String filePath;

  @Column(name = "file_path")
  public String getFilePath() {
    return filePath;
  }

  public void setFilePath(String filePath) {
    this.filePath = filePath;
  }

  @Column(name = "query_chromosome_id")
  public Long getQueryChromosomeId() {
    return queryChromosomeId;
  }

  public void setQueryChromosomeId(Long queryChromosomeId) {
    this.queryChromosomeId = queryChromosomeId;
  }

  @Column(name = "query_id")
  public Long getQueryId() {
    return queryId;
  }

  public void setQueryId(Long queryId) {
    this.queryId = queryId;
  }

  @Column(name = "ref_chromosome_id")
  public Long getRefChromosomeId() {
    return refChromosomeId;
  }

  public void setRefChromosomeId(Long refChromosomeId) {
    this.refChromosomeId = refChromosomeId;
  }

  @Column(name = "ref_id")
  public Long getRefId() {
    return refId;
  }

  public void setRefId(Long refId) {
    this.refId = refId;
  }

  @Column(name = "width")
  public Integer getWidth() {
    return width;
  }

  public void setWidth(Integer width) {
    this.width = width;
  }

  @Override
  public String toString() {
    return "DotImage{" +
           "filePath='" + filePath + '\'' +
           ", refId=" + refId +
           ", queryId=" + queryId +
           ", refChromosomeId=" + refChromosomeId +
           ", queryChromosomeId=" + queryChromosomeId +
           ", width=" + width +
           "} " + super.toString();
  }
}
